home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip: 2005 Utilities
/
CHIP Utilities 2005.7z
/
CHIP Utilities 2005.iso
/
images
/
arachne.igz
/
arachne.img
/
LIB
/
NWODI32.CAB
/
bin
/
Slot.bat
< prev
next >
Wrap
DOS Batch File
|
2005-01-16
|
583b
|
21 lines
@if "%debug%"=="" echo off
set slot0=
for %%i in (%tmp%\_slot.*) do if exist %%i del %%i >nul
if "%nbi0%"=="" goto _end
if not exist %ramdrv%\lan\nbihw.cfg goto _end
tfind "%nbi0%" <%ramdrv%\lan\nbihw.cfg >%tmp%\_slot.bat
if errorlevel 1 goto _end
tfind /e /v "%nbi0%." <%tmp%\_slot.bat >%tmp%\_slot.tmp
if errorlevel 1 goto _ok
goto _end
:_ok
lmod set slot0=[$1]<%tmp%\_slot.tmp >%tmp%\_slot.bat
if exist %tmp%\_slot.bat call %tmp%\_slot.bat
if "%slot0%"=="" goto _end
echo SLOT: %slot0%
:_end
for %%i in (%tmp%\_slot.*) do if exist %%i del %%i >nul
set nbi0=